package com.example.hospital.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "MedicalrecordQuery", description = "病历查询参数")
public class MedicalrecordQuery {
    private Integer patientId;
    private Integer doctorId;
    @Schema(description = "筛选开始时间,对应visit_date")
    private String startTime;
    @Schema(description = "筛选结束时间,对应visit_date")
    private String endTime;
    @Schema(description = "模糊查询字段")
    private String diagnosis;
    @Schema(description = "模糊查询字段")
    private String treatment;
    @Schema(description = "就诊类型", example = "初诊、复诊")
    private String type;
    @Schema(description = "过敏史(模糊查询字段)")
    private String allergicHistory;
    @Schema(description = "现病史(模糊查询字段)")
    private String illnessHistory;
    @Schema(description = "是否诊断完成")
    private Integer isComplete;
    @Schema(description = "病症发作时间")
    private String onsetDate;
}
